/*

CREATE TABLE "base_bzhs_clpb" (
  "sequence_nbr" text(20) NOT NULL,
  "library_code" text(255) NOT NULL,
  "group_name" text(255),
  "details_code" text(255),
  "type" text(512),
  "details" text(512),
  "rec_user_code" text(32),
  "rec_date" text(20),
  "description" text(255),
  "standard_id" text(19),
  PRIMARY KEY ("sequence_nbr")
);*/

use rbatis::crud;
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct BaseBzhsClpb {
    pub sequence_nbr: String,
    pub library_code: String,
    pub group_name: Option<String>,
    pub details_code: Option<String>,
    pub t_type: Option<String>,
    pub details: Option<String>,
    pub rec_user_code: Option<String>,
    pub rec_date: Option<String>,
    pub description: Option<String>,
    pub standard_id: Option<String>,
    pub extend1: Option<String>,
    pub extend2: Option<String>,
    pub extend3: Option<String>,
    pub agency_code: Option<String>,
    pub product_code: Option<String>,
}
crud!(BaseBzhsClpb {}, "base_bzhs_clpb");
